using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    /// <summary>
    /// 系统版本仓储接口
    /// </summary>
    public interface ISystemVersionRepository : IRepository<SystemVersion>
    {
        Task<SystemVersion?> GetLatestVersionAsync();
        Task<IEnumerable<SystemVersion>> GetByModuleAsync(string module);
        Task<IEnumerable<SystemVersion>> GetByVersionAsync(string version);
    }
}